ExamPlay Light Logo
Prisijunkite

Computer Science for IGCSE & O level - Programming (Section 3 - No. 37)

If you want to find the largest value in a set of numbers, what programming construct would you use?
A loop combined with a conditional statement.
A function that returns a random number.
A procedure with no parameters.
A set of nested loops.

Paaiškinimas

You iterate through the values, and use conditionals to compare each value to the current largest, updating it if necessary.

Komentarai (0)

Prisijungti Norėdami komentuoti
Skelbimas
BrainBehindX Inc Logo
©2026; Maitinamas BrainBehindX Inc